package com.secxiot.provider.task.entity;

import java.io.Serializable;

public class TaskTransfer implements Serializable {
    private Long id;

    /**
     * 任务id
     */
    private Long taskId;

    /**
     * 患者id
     */
    private Long patientId;

    /**
     * 床号
     */
    private String beds;

    /**
     * 患者姓名
     */
    private String patientName;

    /**
     * 诊断
     */
    private String diagnosis;

    /**
     * 交接内容
     */
    private String transferContent;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getTaskId() {
        return taskId;
    }

    public void setTaskId(Long taskId) {
        this.taskId = taskId;
    }

    public Long getPatientId() {
        return patientId;
    }

    public void setPatientId(Long patientId) {
        this.patientId = patientId;
    }

    public String getBeds() {
        return beds;
    }

    public void setBeds(String beds) {
        this.beds = beds == null ? null : beds.trim();
    }

    public String getPatientName() {
        return patientName;
    }

    public void setPatientName(String patientName) {
        this.patientName = patientName == null ? null : patientName.trim();
    }

    public String getDiagnosis() {
        return diagnosis;
    }

    public void setDiagnosis(String diagnosis) {
        this.diagnosis = diagnosis == null ? null : diagnosis.trim();
    }

    public String getTransferContent() {
        return transferContent;
    }

    public void setTransferContent(String transferContent) {
        this.transferContent = transferContent == null ? null : transferContent.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", taskId=").append(taskId);
        sb.append(", patientId=").append(patientId);
        sb.append(", beds=").append(beds);
        sb.append(", patientName=").append(patientName);
        sb.append(", diagnosis=").append(diagnosis);
        sb.append(", transferContent=").append(transferContent);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}